home *** CD-ROM | disk | FTP | other *** search
- #
- # This file is called if a player teleports from the Dead World.
- # The $1 argument contains the name of the .KQ file to be loaded in the new
- # world minus the KQ extension.
- #
-
- echo We made it through Alan's code!
- echo and he sent us $1
-
- # Make sure only one ever exists!
- if test $DeadCity::Teleport::Name != 0
- echo Delete $DeadCity::Teleport::Name
- deleteObject $DeadCity::Teleport::Name
- endif
-
- # Load the portal at the correct location for this world.
- loadKQ $1 @ 152564 127931 900
- set DeadCity::Teleport::Name $ObjectName
-
- # Beam me out Scotty
- KQMonster::setState Connor Portal $DeadCity::Teleport::Name
-